package com.huabo.system.service.impl;

import com.huabo.system.mysql.entity.TblNbsjAuditplanMySql;
import com.huabo.system.mysql.mapper.TblNbsjAuditplanMySqlMapper;
import com.huabo.system.oracle.entity.TblNbsjAuditplan;
import com.huabo.system.oracle.mapper.TblNbsjAuditplanMapper;
import com.huabo.system.service.TblNbsjAuditplanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblNbsjAuditplanServiceImpl implements TblNbsjAuditplanService {

    @Resource
    private TblNbsjAuditplanMapper tblNbsjAuditplanMapper;

    @Resource
    private TblNbsjAuditplanMySqlMapper tblNbsjAuditplanMySqlMapper;


    @Override
    public TblNbsjAuditplan get(String planid) {
        return tblNbsjAuditplanMapper.find(planid);
    }

    @Override
    public TblNbsjAuditplanMySql getMySql(String planid) {
        return tblNbsjAuditplanMySqlMapper.find(planid);
    }

    @Override
    public List<TblNbsjAuditplan> findCheckJH(String planid) {
        return tblNbsjAuditplanMapper.findCheckJH(planid);
    }

    @Override
    public List<TblNbsjAuditplanMySql> findMySqlCheckJH(String planid) {
        return tblNbsjAuditplanMySqlMapper.findCheckJH(planid);
    }
}
